html/template.context.state (field)

105 uses

	html/template (current package)
		context.go#L20: 	state   state
		context.go#L35: 	return fmt.Sprintf("{%v %v %v %v %v %v %v}", c.state, c.delim, c.urlPart, c.jsCtx, c.attr, c.element, err)
		context.go#L40: 	return c.state == d.state &&
		context.go#L53: 	if c.state == stateText {
		context.go#L56: 	s := templateName + "$htmltemplate_" + c.state.String()
		escape.go#L26: 	} else if c.state != stateText {
		escape.go#L140: 		return context{state: stateDead}
		escape.go#L146: 		return context{state: stateDead}
		escape.go#L186: 				c.state == stateAttr && c.delim == delimSpaceOrTagEnd && ident == "html" {
		escape.go#L188: 					state: stateError,
		escape.go#L195: 	switch c.state {
		escape.go#L204: 			switch c.state {
		escape.go#L214: 				state: stateError,
		escape.go#L237: 		c.state = stateAttrName
		escape.go#L242: 		if isComment(c.state) {
		escape.go#L245: 			panic("unexpected state " + c.state.String())
		escape.go#L424: 	switch c.state {
		escape.go#L427: 		c.state = stateAttrName
		escape.go#L430: 		c.state, c.delim, c.attr = attrStartStates[c.attr], delimSpaceOrTagEnd, attrNone
		escape.go#L433: 		c.state, c.attr = stateAttrName, attrNone
		escape.go#L442: 	if a.state == stateError {
		escape.go#L445: 	if b.state == stateError {
		escape.go#L448: 	if a.state == stateDead {
		escape.go#L451: 	if b.state == stateDead {
		escape.go#L480: 		if e := join(c, d, node, nodeName); e.state != stateError {
		escape.go#L486: 		state: stateError,
		escape.go#L498: 		if c0.state != stateError {
		escape.go#L502: 		if c0.state == stateError {
		escape.go#L512: 		if c0.state == stateError {
		escape.go#L523: 		if c0.state == stateError {
		escape.go#L537: 		if c0.state == stateError {
		escape.go#L545: 		if c0.state == stateError {
		escape.go#L561: 		if c.state == stateDead {
		escape.go#L631: 				state: stateError,
		escape.go#L636: 			state: stateError,
		escape.go#L666: 	if !ok && c1.state != stateError {
		escape.go#L668: 			state: stateError,
		escape.go#L680: 		if c1.state == stateError {
		escape.go#L722: 		if c.state == stateText || c.state == stateRCDATA {
		escape.go#L724: 			if c1.state != c.state {
		escape.go#L739: 		} else if isComment(c.state) && c.delim == delimNone {
		escape.go#L740: 			switch c.state {
		escape.go#L759: 		if c.state != c1.state && isComment(c1.state) && c1.delim == delimNone {
		escape.go#L762: 			if c1.state == stateHTMLCmt {
		escape.go#L769: 		if i == i1 && c.state == c1.state {
		escape.go#L775: 	if written != 0 && c.state != stateError {
		escape.go#L776: 		if !isComment(c.state) || c.delim != delimNone {
		escape.go#L795: 		return transitionFunc[c.state](c, s[:i])
		escape.go#L814: 				state: stateError,
		escape.go#L825: 			c1, i1 := transitionFunc[c.state](c, u)
		escape.go#L834: 	if c.state == stateAttr && c.element == elementScript && c.attr == attrScriptType && !isJSType(string(s[:i])) {
		escape.go#L844: 	return context{state: stateTag, element: element}, i
		html.go#L183: 			st := c.state
		html.go#L190: 			if c.state == stateText || c.state == stateRCDATA {
		html.go#L193: 				if d.state != c.state {
		html.go#L216: 		c, i = context{state: stateTag, element: c.element}, i1
		html.go#L220: 	} else if c.state == stateText || c.state == stateRCDATA {
		transition.go#L55: 			return context{state: stateHTMLCmt}, i + 4
		transition.go#L71: 			return context{state: stateTag, element: e}, j
		transition.go#L94: 			state:   elementContentType[c.element],
		transition.go#L100: 		return context{state: stateError, err: err}, len(s)
		transition.go#L105: 			state: stateError,
		transition.go#L131: 	return context{state: state, element: c.element, attr: attr}, j
		transition.go#L138: 		return context{state: stateError, err: err}, len(s)
		transition.go#L140: 		c.state = stateAfterName
		transition.go#L153: 		c.state = stateTag
		transition.go#L156: 	c.state = stateBeforeValue
		transition.go#L184: 	c.state, c.delim = attrStartStates[c.attr], delim
		transition.go#L274: 		c.state, c.jsCtx = stateJSDqStr, jsCtxRegexp
		transition.go#L276: 		c.state, c.jsCtx = stateJSSqStr, jsCtxRegexp
		transition.go#L280: 			c.state, i = stateJSLineCmt, i+1
		transition.go#L282: 			c.state, i = stateJSBlockCmt, i+1
		transition.go#L284: 			c.state = stateJSRegexp
		transition.go#L289: 				state: stateError,
		transition.go#L303: 	switch c.state {
		transition.go#L321: 					state: stateError,
		transition.go#L332: 				c.state, c.jsCtx = stateJS, jsCtxDivOp
		transition.go#L343: 			state: stateError,
		transition.go#L359: 	switch c.state {
		transition.go#L361: 		c.state = stateJS
		transition.go#L363: 		c.state = stateCSS
		transition.go#L365: 		panic(c.state.String())
		transition.go#L374: 	switch c.state {
		transition.go#L387: 		panic(c.state.String())
		transition.go#L394: 	c.state = endState
		transition.go#L446: 					c.state, j = stateCSSDqURL, j+1
		transition.go#L448: 					c.state, j = stateCSSSqURL, j+1
		transition.go#L450: 					c.state = stateCSSURL
		transition.go#L458: 					c.state = stateCSSLineCmt
		transition.go#L461: 					c.state = stateCSSBlockCmt
		transition.go#L466: 			c.state = stateCSSDqStr
		transition.go#L469: 			c.state = stateCSSSqStr
		transition.go#L479: 	switch c.state {
		transition.go#L489: 		panic(c.state.String())
		transition.go#L503: 					state: stateError,
		transition.go#L508: 			c.state = stateCSS